package com.jcodes.simple.module.auth.controller.ro;

import java.time.LocalDate;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserCreateRo {
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "昵称不能为空")
    private String nickname;
    @NotNull(message = "用户密码不能为空")
    private String password;
    private String sex;
    private LocalDate birthday;
    @NotNull(message = "手机号不能为空")
    private String mobile;
    @NotNull(message = "邮箱不能为空")
    private String email;
}
